<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

</body>
<script>
    // var date = new Date();

    // var date = new Date("2022/06/18 12:34:56");
    // console.log(date);

    // var date = new Date(2022, 5, 18, 12, 34, 56, 100);
    // console.log(date);

    // var date = new Date(1000000000000);
    // console.log(date);

    // var date = new Date(date);
    // console.log(date);


    // console.log(date * 1);
    // console.log(date.valueOf());
    // console.log(date.getTime());



    // setInterval(callback,interval)

    // setInterval(function () {
    //     console.log("hello");
    // }, 1000);

    // setInterval(console.log, 1000, "world");

    function fn(a) {
        console.log(a);
    }

    setInterval(function () {
        fn(100);
    }, 1000)

    setInterval(fn, 1000, 200)








</script>

</html>